#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2018/8/29 11:54
# @Author  : youfeng

"""
消息队列
"""


# 离线消息队列
class OfflineBeanstalkConf(object):
    HOST = "192.168.0.92"
    PORT = 11300
    TUBE = "offline_download_rsp"

    OFFLINE_EXTRACT_INFO_TUBE = "offline_extract_info"


# 工商线索队列
class GsxtClueBeanstalkConf(object):
    HOST = "192.168.0.93"
    PORT = 11400
    TUBE = "company_collection"


TOPICS = {
    "judgement_wenshu": 32,
    "court_ktgg": 34,
    "enterprise_owing_tax": 35,
    "zhixing_info": 42,
    "shixin_info": 38,
    'patent': 43,
    "bid_detail": 41,
    "registration_company": 231,
    'baidu_news': 40,
    'environment_protection_information': 225,
    'news': 79,
    'land_value': 230,
    'financial_announcement': 232,
    'increasing_selling_announcement': 233,
    'top_ten_shareholder': 234,
    'bulletin': 33,
    'tax_payer_level_A_new': 219,
    'penalty': 68,
}